#ifndef SALESMANGREEDYCHROMOSOMEFACTORY_H_
#define SALESMANGREEDYCHROMOSOMEFACTORY_H_

#include "AbstractChromosomeFactory.h"
#include "SalesmanData.h"

/**
  * Class that represents salesman chromosome factory which uses greedy algorithm.
  * @author Łukasz Szybka
  */
class SalesmanGreedyChromosomeFactory : public AbstractChromosomeFactory
{
public:
    SalesmanGreedyChromosomeFactory(int _chromosomeLength, SalesmanData _salesmanData);
    Chromosome* getNewChromosome();
    Chromosome* getNewChromosome(int len);
    Chromosome* getNewRandomChromosome();
	
private:

    SalesmanData salesmanData;
    int index;

};

#endif /*SALESMANGREEDYCHROMOSOMEFACTORY_H_*/
